import React from 'react'
import {BrowserRouter as Router, Switch, Route, Redirect} from 'react-router-dom'
import Home from '../page/home/home'
import Sign from '../page/sign/sign'
const router = (
    <Router>
        <Switch>
            <Route path="/" exact component={Home}/>
            <Route path="/Sign" component={Sign}/>
            <Redirect to="/" />
        </Switch>
    </Router>
)
export default router